<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Lesson Project: App/app_main.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Lesson Project<span id="projectnumber">&#160;Beta V1.0</span>
   </div>
   <div id="projectbrief">Course Learning Template Engineering</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b1617d756d2224e91d37255e84e89ba2.html">App</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle"><div class="title">app_main.c File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="app__main_8h_source.html">app_main.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for app_main.c:</div>
<div class="dyncontent">
<div class="center"><img src="app__main_8c__incl.png" border="0" usemap="#a_app_2app__main_8c" alt=""/></div>
</div>
</div>
<p><a href="app__main_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aa71051d6b8fcb5d4af58be905e7f3e21" id="r_aa71051d6b8fcb5d4af58be905e7f3e21"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa71051d6b8fcb5d4af58be905e7f3e21">start_task</a> (void *PvParameters)</td></tr>
<tr class="memdesc:aa71051d6b8fcb5d4af58be905e7f3e21"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start Task.  <br /></td></tr>
<tr class="separator:aa71051d6b8fcb5d4af58be905e7f3e21"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f7388bf69ce33f58b5f0197067ac3dd" id="r_a5f7388bf69ce33f58b5f0197067ac3dd"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5f7388bf69ce33f58b5f0197067ac3dd">led_task</a> (void *PvParameters)</td></tr>
<tr class="memdesc:a5f7388bf69ce33f58b5f0197067ac3dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">LED Task.  <br /></td></tr>
<tr class="separator:a5f7388bf69ce33f58b5f0197067ac3dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a630544a7f0a2cc40d8a7fefab7e2fe70" id="r_a630544a7f0a2cc40d8a7fefab7e2fe70"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a630544a7f0a2cc40d8a7fefab7e2fe70">app_main</a> (void)</td></tr>
<tr class="memdesc:a630544a7f0a2cc40d8a7fefab7e2fe70"><td class="mdescLeft">&#160;</td><td class="mdescRight">User Function Enter.  <br /></td></tr>
<tr class="separator:a630544a7f0a2cc40d8a7fefab7e2fe70"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a0638823491d35f41a8f9c464fa5fcf87" id="r_a0638823491d35f41a8f9c464fa5fcf87"><td class="memItemLeft" align="right" valign="top">static TaskHandle_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a0638823491d35f41a8f9c464fa5fcf87">LED_TaskHandle</a> = NULL</td></tr>
<tr class="memdesc:a0638823491d35f41a8f9c464fa5fcf87"><td class="mdescLeft">&#160;</td><td class="mdescRight">LED Task Handler.  <br /></td></tr>
<tr class="separator:a0638823491d35f41a8f9c464fa5fcf87"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><dl class="section author"><dt>Author</dt><dd>T4056 Student </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2024-07-13 </dd></dl>
<dl class="section version"><dt>Version</dt><dd>V1.0 </dd></dl>
<dl class="section user"><dt>CopyRight(c)</dt><dd>2024 T4056 Student.All rights reserved. </dd></dl>

<p class="definition">Definition in file <a class="el" href="app__main_8c_source.html">app_main.c</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a id="a630544a7f0a2cc40d8a7fefab7e2fe70" name="a630544a7f0a2cc40d8a7fefab7e2fe70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a630544a7f0a2cc40d8a7fefab7e2fe70">&#9670;&#160;</a></span>app_main()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void app_main </td>
          <td>(</td>
          <td class="paramtype">void</td>          <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>User Function Enter. </p>
<p>1.Create Start Task 2.Start Scheduler </p>

<p class="definition">Definition at line <a class="el" href="app__main_8c_source.html#l00018">18</a> of file <a class="el" href="app__main_8c_source.html">app_main.c</a>.</p>

</div>
</div>
<a id="a5f7388bf69ce33f58b5f0197067ac3dd" name="a5f7388bf69ce33f58b5f0197067ac3dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f7388bf69ce33f58b5f0197067ac3dd">&#9670;&#160;</a></span>led_task()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void led_task </td>
          <td>(</td>
          <td class="paramtype">void *</td>          <td class="paramname"><span class="paramname"><em>PvParameters</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>LED Task. </p>
<p>Periodically turn on/off the LED </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">PvParameters：Never</td><td>Use </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p class="definition">Definition at line <a class="el" href="app__main_8c_source.html#l00055">55</a> of file <a class="el" href="app__main_8c_source.html">app_main.c</a>.</p>

</div>
</div>
<a id="aa71051d6b8fcb5d4af58be905e7f3e21" name="aa71051d6b8fcb5d4af58be905e7f3e21"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa71051d6b8fcb5d4af58be905e7f3e21">&#9670;&#160;</a></span>start_task()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void start_task </td>
          <td>(</td>
          <td class="paramtype">void *</td>          <td class="paramname"><span class="paramname"><em>PvParameters</em></span></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Start Task. </p>
<p>1.Enter Critical 2.Do what ever you want 3.Exit Critical 4.Delete Task Self </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">PvParameters：Never</td><td>Use </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None </dd></dl>

<p class="definition">Definition at line <a class="el" href="app__main_8c_source.html#l00039">39</a> of file <a class="el" href="app__main_8c_source.html">app_main.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a0638823491d35f41a8f9c464fa5fcf87" name="a0638823491d35f41a8f9c464fa5fcf87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0638823491d35f41a8f9c464fa5fcf87">&#9670;&#160;</a></span>LED_TaskHandle</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TaskHandle_t LED_TaskHandle = NULL</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>LED Task Handler. </p>

<p class="definition">Definition at line <a class="el" href="app__main_8c_source.html#l00011">11</a> of file <a class="el" href="app__main_8c_source.html">app_main.c</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
